package lbh.crawler;

public abstract class Module extends ObjectWithLifecycle {

	private String name;
	private Subsystem subsystem;

	public Module(Subsystem ss, String name) {
		
		super();
		this.subsystem = ss;
		this.name = name;
		
		if(subsystem!=null)
			subsystem.addModule(this);
	}

	public String getName() {
		return name;
	}

	public Subsystem getSubsystem() {
		return subsystem;
	}

}
